import {LayoutIndex} from '@/routers/constant'
import Index from '@/view/subManager/Index'
import SubType from '@/view/subManager/subType'

export const homeRouter = [
    {
        element: <LayoutIndex/>,
        meta: {
            title: "订阅",
            key:'LayoutIndex_sub'
        },
        index:1,
        children: [
            {
                path: '/subManager/subType',
                element: <SubType/>,
                meta: {
                    requiresAuth: false,
                    title: "信息管理",
                    key: "/subManager/subType"
                },
            },
            {
                path: '/subManager/Index',
                element: <Index/>,
                meta: {
                    requiresAuth: false,
                    title: "订阅管理",
                    key: "/subManager/Index"
                },
            },
        ]
    }
]
